package py.com.alfa.escriba.gui.rest.services;

import java.io.IOException;
import java.util.List;

import py.com.alfa.escriba.gui.dto.gestion.VariablesDTO;

public interface VariablesService {
	final String SECURE_PATH = "/secure";
	final String BASE_URL = "/variables";

	final String LIST_VARIABLE = SECURE_PATH.concat(BASE_URL);
	final String MB_VARIABLE = SECURE_PATH.concat(BASE_URL.concat("/{id}"));
	final String VARIABLE_BY_TIPO = SECURE_PATH.concat(BASE_URL.concat("/listVariablesByIdTipo/{id}"));
	
	public List<VariablesDTO> listVariables() throws IOException;

	public VariablesDTO showVariables(Long id) throws IOException;

	public List<VariablesDTO> listVariablesByIdTipo(Long id) throws IOException;
	  
	public VariablesDTO saveVariables(VariablesDTO dto) throws IOException;

	public VariablesDTO createVariables(VariablesDTO dto) throws IOException;

	public void deleteVariables(Long id) throws IOException;

}